import { addDateRange , handleTree } from '@/utils/ruoyi';
import download from './download';
import { download as dl } from '@/utils/request';
import { useDict } from '@/utils/dict';
import modal from './modal';



export default function installPlugin(app) {
    // 下载文件
    app.config.globalProperties.$download = download;
    // 模态框对象
    app.config.globalProperties.$modal = modal;
    // 全局方法挂载
    app.config.globalProperties.addDateRange = addDateRange;
    app.config.globalProperties.download = dl;
    app.config.globalProperties.useDict = useDict;
    app.config.globalProperties.handleTree = handleTree;

}
